package org.gluedom.marshall;

import java.util.List;

import org.gluedom.data.Immutable;

public interface Marshaller {
	public byte[] marshallList(List<? extends Immutable> immutables);

	public <T extends Immutable> List<T> unmarshallList(byte[] bytes);

	public byte[] marshall(Immutable immutable);

	public <T extends Immutable> T unmarshall(byte[] bytes);
}
